define('components/groupSearchForm/groupSearchForm.tpl',['hdbr'], function(Handlebars) {
			return Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
    var helper;

  return "		<p>"
    + container.escapeExpression(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"title","hash":{},"data":data}) : helper)))
    + "</p>\r\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
    var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});

  return "<div class = \"sn-groupSearchForm "
    + container.escapeExpression(((helper = (helper = helpers.className || (depth0 != null ? depth0.className : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"className","hash":{},"data":data}) : helper)))
    + "\">\r\n"
    + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.title : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
    + "	<form class=\"searchForm\">		\r\n		<ul class=\"searchOptions\">\r\n		</ul>\r\n	</form>\r\n	<div class=\"advancedQuery down\"></div>\r\n	<div class = \"sn-groupSearchForm-buttons\"></div>\r\n</div>\r\n	";
},"useData":true})
		});

define('lib/requirejs/css.min!components/groupSearchForm/groupSearchForm',[],function(){});
/**
 * 组件-groupSearchForm
 */
define('groupSearchForm',[
	'jquery',
	'eventTarget',
	'components/groupSearchForm/groupSearchForm.tpl',
	'validator',
	'date',
	'select',
	'selectTree',
	'radios',
	'checkboxes',
	'buttonGroup',
	'lib/requirejs/css.min!components/groupSearchForm/groupSearchForm.css'
], function($, eventTarget, template, Validator, Mydate, Select, SelectTree, Radios, Checkboxes, ButtonGroup) {
	var VERSION = '1.1.8';
	var isOldVersionDate = new Mydate({}).version.split('.')[1] === "0";
	var objClass = function(config) {
		// 对this.$el赋值前对options.el类型判断，jquery对象，DOM对象，字符串
		if(config.el instanceof jQuery && config.el.length > 0) {
			this.$el = config.el;
		} else if(config.el && isDOM(config.el)) {
			this.$el = $(config.el);
		} else if(typeof(config.el) == 'string' && $(config.el).length > 0) {
			this.$el = $(config.el);
		} else {
			this.$el = $("<div></div>")
		}
		// 判断是否有className
		config.className = (config.className ? config.className : "groupSearchForm");
		// 判断是否有column
		config.column = (config.column ? config.column : 4);
		// 判断是否有advancedQuery,高级查询
		config.advancedQuery = config.advancedQuery || -1;
		// 是否查询全部
		config.isQueryAll = (config.advancedQuery == -1);
		// 判断是否有advancedQuery
		//		config.button = (config.button ? config.button : 'search');
		this.options = config;
		this.compts = {};
		eventTarget.call(this);
		render.call(this);
		// 自定义事件
		this.$el.on('click', '.search', $.proxy(function(e) {
			search.call(this, e);
			this.trigger('search', this.getData());
		}, this));
		this.$el.on('click', '.reset', $.proxy(function(e) {
			reset.call(this, e);
			this.trigger('reset', e);
		}, this));
	};
	// 扩展方法
	$.extend(objClass.prototype, eventTarget.prototype, {
		version: VERSION,
		// 获取表单提交数据
		getData: function() {
			var formData = {},
				_self = this,
				items = _self.options.items;
			$.each(items, function(i, n) {
				if(!_self.options.isQueryAll && _self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
					return; //不输出高级查询隐藏掉的表单值
				}
				var elem = n.element,
					key = n.name
				compt = n.compt;
				if(elem === 'input' || elem === 'textarea') {
					formData[key] = compt.val();
				} else if(elem === 'select') {
					formData[key] = compt.getSelected();
				} else if(elem === 'radios' || elem === 'checkboxes') {
					formData[key] = compt.get();
				} else if(elem === 'selectTree') {
					var text = compt.$el.find('input[type=text]').val(),
						val = compt.$el.find('input[type=hidden]').val();
					formData[key] = {
						text: text,
						val: val
					};
				} else if(elem === 'date') {
					formData[key] = compt.$el.find('input[name=' + key + ']').val();
				} else if(elem === 'doubleDate') {
					$.each(key, function(i, n) {
						formData[n] = compt[i].$el.find('input[name=' + n + ']').val();
					});
				} else if(elem === 'linkedSelect') {
					$.each(key, function(i, n) {
						formData[n] = compt[i].getSelected();
					});
				}
			});
			return formData;
		},
		getText: function() {
			var data = this.getData();
			$.each(data, function(i, n) {
				if(typeof(n) != "string") {
					data[i] = n.text || n.name || '';
				}
			})
			return data;
		},
		getValue: function() {
			var data = this.getData();
			$.each(data, function(i, n) {
				if(typeof(n) != "string") {
					data[i] = n.val || n.value || '';
				}
			})
			return data;
		},
		// 初始化表单数据
		reset: function() {
			var _self = this;
			this.$el.find('form')[0].reset();
			var items = _self.options.items;
			$.each(items, function(i, n) {
				if(n.element==='any'){
					return;
				}
				var elem = n.element,
					compt = n.compt;
				if(elem === 'select') {
					compt.reload();
				} else if(elem === 'radios' || elem === 'checkboxes') {
					compt.clear();
					if(compt.options.defaultValue) {
						compt.set(compt.options.defaultValue);
					}
				} else if(elem === 'linkedSelect') {
					$.each(compt, function(i, n) {
						n.reload();
					});
				} else if(elem === 'selectTree') {
					compt.$el.find('.values').val(''); //type='hidden'，form的reset方法未重置到
				}
				var $li = $(compt.$el || compt).closest('li');
				_liHandler($li);
			})
		},
		set: function(datas) {
			var _self = this;
			if(!datas || typeof(datas) != 'object') {
				console.log(set方法的参数必须是一个json对象);
				return;
			}
			var names = [], //存放所有name
				compts = []; //存放所有组件
			$.each(_self.options.items, function(i, n) {
				names = names.concat(n.name);
				compts = compts.concat(n.compt);
			})
			//解决ie8不支持indexOf的兼容性问题
			if(!Array.prototype.indexOf) {
				Array.prototype.indexOf = function(elt /*, from*/ ) {
					var len = this.length >>> 0;
					var from = Number(arguments[1]) || 0;
					from = (from < 0) ?
						Math.ceil(from) :
						Math.floor(from);
					if(from < 0)
						from += len;
					for(; from < len; from++) {
						if(from in this &&
							this[from] === elt)
							return from;
					}
					return -1;
				};
			}
			$.each(datas, function(key, value) {
				var index = names.indexOf(key);
				if(index > -1) {
					if(compts[index].setValue) {
						compts[index].setValue(value);
					} else if(compts[index].set) {
						compts[index].set(value);
					} else if(_self.$el.find('[name=' + key + ']')) {
						_self.$el.find('[name=' + key + ']').val(value);
					}
				} else {
					console.log('未找到与' + key + '匹配的子组件');
				}
			})

		},
		child: function(name) { //获取指定name的子组件对象
			if(this.compts[name]) {
				return this.compts[name];
			} else {
				console.log("未找到与" + name + "匹配的子组件");
			}
		}
	});
	// 注册search事件
	var search = function(data) {};
	// 注册reset事件
	var reset = function() {
		//		this.reset();
	};
	// 渲染页面
	var render = function() {
		//		var template = hdb.compile(tpl);
		this.$el.html(template(this.options));
		// 设置每个表单选项的宽度
		var column = this.options.column;
		this.$el.find('ul').addClass('column' + column);
		//渲染各个子组件
		liHtml.call(this);
		//渲染按钮
		buttonHtml.call(this);
		// 开启高级查询
		if(this.options.advancedQuery) {
			advancedQueryHtml.call(this)
		}
		//初始化表单验证
		initValidator.call(this);
	};
	//渲染各个子组件
	var liHtml = function() {
		var _self = this,
			$ul = _self.$el.find('.searchOptions');
		$.each(this.options.items, function(i, n) {
			var elem = n.element;
			if(elem === "input" || elem === "textarea") {
				var label = '<label>' + n.label + '</label>',
					input = '<' + elem + ' name="' + n.name + '"/>';
				if(n.config && n.config.attr) {
					var attrStr = '';
					$.each(n.config.attr, function(i, n) {
						attrStr += i + "=" + n + " ";
					});
					input = '<' + elem + ' name="' + n.name + '" ' + attrStr + '/>';
				}
				$input = $(input);
				if(n.config && n.config.className) {
					$input.addClass(n.config.className);
				}
				if(elem === "textarea") {
					$input.addClass('sn-groupSearchForm-textarea');
				}
				_self.options.items[i].compt = $input;
				_self.compts[n.name] = $input;
				var $li = $('<li>').append(label).append($input).appendTo($ul);
				if(_self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
					$li.addClass('canhide-hook');
				}
				_liHandler($li, n.colspan);
			} else if(elem === 'select') {
				var select = null;
				if(n.url) {
					select = new Select($.extend({
						label: n.label,
						name: n.name,
						url: n.url
					}, n.config));
				} else if(n.datas) {
					select = new Select($.extend({
						label: n.label,
						name: n.name,
						datas: n.datas
					}, n.config));
				} else {
					console.log('请配置select的数据源');
				}
				_self.options.items[i].compt = select;
				_self.compts[n.name] = select;
				var $li = $('<li>').append(select.$el).appendTo($ul);
				if(_self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
					$li.addClass('canhide-hook');
				}
				_liHandler($li, n.colspan);
			} else if(elem === 'date') {
				var myDate = new Mydate($.extend({
					label: n.label,
					name: n.name //开始日期文本框name
				}, n.config));
				_self.options.items[i].compt = myDate;
				_self.compts[n.name] = myDate;
				var $li = $('<li>').append(myDate.$el).appendTo($ul);
				if(_self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
					$li.addClass('canhide-hook');
				}
				_liHandler($li, n.colspan);
			} else if(elem === 'selectTree') {
				var selectTree = new SelectTree($.extend({
					label: n.label,
					check: true,
					name: n.name,
					textField: 'name',
					valueField: 'id',
					expandAll: true,
					childNodeOnly: false,
					checkAllNodes: true,
					async: true,
					url: n.url
				}, n.config));
				_self.options.items[i].compt = selectTree;
				_self.compts[n.name] = selectTree;
				var $li = $('<li>').append(selectTree.$el).appendTo($ul);
				if(_self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
					$li.addClass('canhide-hook');
				}
				_liHandler($li, n.colspan);
			} else if(elem === 'radios') {
				var radios = new Radios($.extend({
					items: n.items
				}, n.config))
				_self.options.items[i].compt = radios;
				_self.compts[n.name] = radios;
				var $li = $('<li>').append('<label class="label">' + n.label + '</label>').append(radios.$el).appendTo($ul);
				if(_self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
					$li.addClass('canhide-hook');
				}
				_liHandler($li, n.colspan);
			} else if(elem === 'checkboxes') {
				var checkboxes = new Checkboxes($.extend({
					items: n.items
				}, n.config))
				_self.options.items[i].compt = checkboxes;
				_self.compts[n.name] = checkboxes;
				var $li = $('<li>').append('<label class="label">' + n.label + '</label>').append(checkboxes.$el).appendTo($ul);
				if(_self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
					$li.addClass('canhide-hook');
				}
				_liHandler($li, n.colspan);
			} else if(elem === 'doubleDate') {
				if(!isArr(n.label) || n.label.length != 2 || !isArr(n.name) || n.name.length != 2) {
					console.log('doubleDate的label和name参数必须是一个length为2的数组')
					return;
				}
				if(n.config && n.config.length != 2) {
					console.log('doubleDate的config也必须是一个length为2数组');
					return;
				}
				if(!n.config) { //赋个空置，防止其后报错
					n.config = [{}, {}];
				}
				if(isOldVersionDate) {
					var startConfig = $.extend({
						label: n.label[0],
						name: n.name[0] //开始日期文本框name
					}, n.config[0], {
						choose: function(datas) {
							endConfig.min = datas;
							endConfig.start = datas;
							if(n.config[0].choose) {
								n.config[0].choose(datas);
							}
						}
					});
					var endConfig = $.extend({
						label: n.label[1],
						name: n.name[1] //开始日期文本框name
					}, n.config[1], {
						choose: function(datas) {
							startConfig.max = datas;
							if(n.config[1].choose) {
								n.config[1].choose(datas);
							}
						}
					});
				} else {
					var startConfig = $.extend({
						label: n.label[0],
						name: n.name[0] //开始日期文本框name
					}, n.config[0], {
						done: function(datas, date, endDate) {
							endConfig.min = datas;
							endConfig.start = datas;
							if(n.config[0].done) {
								n.config[0].done(datas, date, endDate);
							}
						}
					});
					var endConfig = $.extend({
						label: n.label[1],
						name: n.name[1] //开始日期文本框name
					}, n.config[1], {
						done: function(datas, date, endDate) {
							startConfig.max = datas;
							if(n.config[1].done) {
								n.config[1].done(datas, date, endDate);
							}
						}
					});
				}
				if(n.config[0].defaultValue) {
					endConfig.min = n.config[0].defaultValue;
				}
				if(n.config[1].defaultValue) {
					startConfig.max = n.config[1].defaultValue;
				}
				var start = new Mydate(startConfig);
				var end = new Mydate(endConfig);
				var $li1 = $('<li>').append(start.$el).appendTo($ul);
				var $li2 = $('<li>').append(end.$el).appendTo($ul);
				if(_self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
					$li1.addClass('canhide-hook');
					$li2.addClass('canhide-hook');
				}
				_liHandler($li1, n.colspan);
				_liHandler($li2, n.colspan);
				_self.options.items[i].compt = [start, end];
				_self.compts[n.name[0]] = start;
				_self.compts[n.name[1]] = end;
			} else if(elem === 'linkedSelect') {
				var selects = [],
					len = n.name.length;
				if(n.config && !isArr(n.config)) { //如果配置了config,但不是数组
					console.log('linkedSelect如果配置了config，那么它必须是一个数组');
					return
				}
				if(n.config && n.config.length < len) { //如果配置了config,但长度不够，为防止报错自动补全
					for(var x = 0; x < len; x++) {
						n.config[x] = (n.config[x] || {})
					}
				}
				if(!n.config) { //如果未配置config，设置空置，防止报错
					n.config = []
					for(var y = 0; y < len; y++) {
						n.config.push({})
					}
				}
				for(var q = 0; q < len; q++) {
					var select = null;
					if(q == 0) {
						if(n.url) {
							select = new Select($.extend({
								label: n.label[q],
								name: n.name[q],
								url: n.url
							}, n.config[q]));
						} else if(n.datas) {
							select = new Select($.extend({
								label: n.label[q],
								name: n.name[q],
								datas: n.datas
							}, n.config[q]));
						} else {
							console.log('请配置linkedSelect的数据源');
						}
					} else {
						select = new Select($.extend({
							label: n.label[q],
							name: n.name[q],
							disabled: true,
							datas: [{
								'name': "",
								'value': ""
							}]
						}, n.config[q]));
					}
					var $li = $('<li>').append(select.$el).appendTo($ul);
					if(_self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
						$li.addClass('canhide-hook');
					}
					_liHandler($li, n.colspan);
					selects.push(select);
					_self.compts[n.name[q]] = select;
				}
				//绑定change事件实现联动
				$.each(selects, function(x, y) {
					if(x + 1 < selects.length) {
						selects[x].on("change", function(e, valueObj) {
							//重置子select
							var childSelect = selects[x + 1];
							if(valueObj.children) {
								childSelect.options.arr = childSelect.options.datas = valueObj.children;
								childSelect.reload(valueObj.children);
								childSelect.enable();
							} else {
								childSelect.reload();
								console.log('子下拉框未匹配到数据，请检查其上级select的数据源或datas');
							}
							//重置后代slect
							$.each(selects.slice(x + 2), function(i, n) {
								n.reload();
							})
						})
					}
				})
				_self.options.items[i].compt = selects;
			}else if(elem === 'any'){
				var $li = $('<li>');
				if(n.label){
					$li.append('<label>'+n.label+'</label>');
				}
				$li.append(n.content).appendTo($ul);
				if(_self.options.advancedQuery != -1 && i >= _self.options.advancedQuery) {
					$li.addClass('canhide-hook');
				}
				$li.addClass(n.className?n.className:'user-defined');
				_liHandler($li, n.colspan);
			}
		});
		//处理height>30px 的超高子组件
		//		$ul.find('.sn-radios,.sn-checkboxes,.sn-groupSearchForm-textarea').each(function(i, n) {
		//			if($(n).height() > 30) {
		//				$(n).closest("li").height($(n)[0].offsetHeight);
		//			}
		//		})
	}
	//处理附加的额外项
	function _liHandler($li, colspan) {
		//设置所占列数
		if(colspan) {
			$li.addClass('colspan' + colspan);
		}
		//label超出2行文本。。。
		var timer = setInterval(function() {
			var $label = $li.find('label');
			if($label[0]) {
				//解决ie8下scrollHeight莫名其妙多1的毛病
				if($label[0].offsetHeight + 5 < $label[0].scrollHeight) {
					$('<div class="ellipsis">...</div>').appendTo($($label[0]));
				}
				clearInterval(timer);
			}
		}, 200);
	}
	// 渲染按钮
	var buttonHtml = function() {
		var button = this.options.button;
		if(typeof(button) == 'object' && button.$el) {
			this.$el.find('.sn-groupSearchForm-buttons').append(button.$el);
		} else if(typeof(button) == 'string') {
			var btnArr = button.split('|');
			for(var i = 0; i < btnArr.length; i++) {
				if(btnArr[i] == 'search') {
					var elem = '<button class = "' + btnArr[i] + '">' + btnArr[i] + '</button>';
					this.$el.find('.sn-groupSearchForm-buttons').append(elem);
				} else if(btnArr[i] == 'reset') {
					var elem = '<button class = "' + btnArr[i] + '">' + btnArr[i] + '</button>';
					this.$el.find('.sn-groupSearchForm-buttons').append(elem);
				} else {
					console.log('按钮设置有误！');
				}
			}
		} else if(isJson(button)) {
			var btnbox = this.$el.find('.sn-groupSearchForm-buttons');
			if(button.position === 'absolute') {
				this.$el.find('.sn-groupSearchForm').addClass('absolute-btn');
				//				btnbox.addClass('absolute');
			} else if(button.position === 'center') {
				btnbox.css('text-align', 'center');
			} else if(button.position === 'right') {
				btnbox.css('text-align', 'right');
			}
			var btns = new ButtonGroup($.extend({
				el: btnbox
			}, button.config))
		} else {
			console.log('按钮没有设置');
		}
	}
	// 高级查询的显示和隐藏
	var advancedQueryHtml = function() {
		var _self = this,
			$needHides = _self.$el.find('.canhide-hook'),
			$elemHandler = _self.$el.find('.advancedQuery');
		if($needHides.length > 0) {
			$needHides.hide();
			this.options.isQueryAll = false;
			$elemHandler.on("click", function() {
				if(_self.options.isQueryAll) { //如果是展开状态
					$needHides.hide();
					$elemHandler.removeClass('up');
					_self.options.isQueryAll = false;
				} else {
					$needHides.show();
					$elemHandler.addClass('up');
					_self.options.isQueryAll = true;
				}
			}).show();
		}
	}
	var initValidator = function() {
		var items = this.options.items;
		var jsonObj = {
			rules: {},
			messages: {}
		}
		$.each(items, function(i, n) {
			if(n.validator) {
				if(!isArr(n.name)) {
					var name = n.name,
						rules = n.validator.rules,
						messages = n.validator.messages;
					addJsonObj(name, rules, messages);
				} else {
					var validatorArr = n.validator,
						nameArr = n.name;
					$.each(validatorArr, function(index, obj) {
						var name = nameArr[index],
							rules = obj.rules,
							messages = obj.messages;
						addJsonObj(name, rules, messages);
					})
				}
			}
		})
		if(this.options.validatorConfig || JSON.stringify(jsonObj.rules) != "{}") {
			var config = $.extend({
				el: this.$el,
				dialog:true
			}, jsonObj, this.options.validatorConfig);
			this.validator = new Validator(config);
		}
		//整合数据使符合validator配置项格式
		function addJsonObj(name, rules, messages) {
			var rulesStr = rules.join("|");
			jsonObj.rules[name] = rulesStr;
			if(messages) {
				var messagesObj = {};
				$.each(messages, function(i, n) {
					if(n) {
						messagesObj[rules[i]] = n;
					}
				})
				jsonObj.messages[name] = messagesObj;
			}
		}
	}
	// 判断是否为原生DOM
	var isDOM = function(obj) {
		return obj.tagName ? true : false
	};
	// 判断是否为数组
	var isArr = function(obj) {
		return obj instanceof Array
	}
	//判断obj是否为json对象  
	function isJson(obj) {
		var isjson = typeof(obj) == "object" && Object.prototype.toString.call(obj).toLowerCase() == "[object object]" && !obj.length;
		return isjson;
	}
	//解决ie下console.log()报错问题
	window.console = window.console || (function() {
		var c = {};
		c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile = c.clear = c.exception = c.trace = c.assert = function() {};
		return c;
	})();

	return objClass;
});

(function(c){var d=document,a='appendChild',i='styleSheet',s=d.createElement('style');s.type='text/css';d.getElementsByTagName('head')[0][a](s);s[i]?s[i].cssText=c:s[a](d.createTextNode(c));})
('.sn-groupSearchForm {\r\n\twidth: 100%;\r\n\t/*display: table;*/\r\n\tfont-size: 13px;\r\n\t/*border: 1px solid #c6cccf;*/\r\n\tborder: 1px solid #d0d6d9;\r\n\tbox-sizing: border-box;\r\n\tposition: relative;\r\n\tcolor: #666;\r\n\t/*padding-bottom: 20px;*/\r\n}\r\n.sn-groupSearchForm.absolute-btn{\r\n\tpadding-bottom: 20px;\r\n}\r\n\r\n.sn-groupSearchForm>p {\r\n\tmargin: 0;\r\n\tpadding: 15px 20px;\r\n\tline-height: 1;\r\n\t/*border-bottom: 1px solid #eaeef1;*/\r\n\tborder-bottom: 1px solid #e9ecf0;\r\n}\r\n\r\n.sn-groupSearchForm>form {\r\n\tmargin: 5px 20px 0 20px;\r\n}\r\n.sn-groupSearchForm .bg-date{\r\n\tbackground: url(\'\') no-repeat right;\r\n}\r\n\r\n.sn-groupSearchForm .searchOptions {\r\n\tpadding: 0;\r\n\tmargin: 0;\r\n}\r\n\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li {\r\n\tdisplay: inline-block;\r\n\tposition: relative;\r\n\t/*height: 30px;*/\r\n\t/*line-height: 30px;*/\r\n\tmargin-top: 15px;\r\n\tlist-style: none;\r\n\tfont-size: 0;\r\n\tvertical-align: top;\r\n\tpadding-left: 5px;\r\n    box-sizing: border-box;\r\n}\r\n\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li>div {\r\n\tfont-size: 0;\r\n\t/*height: 30px;*/\r\n\t/*line-height: 30px;*/\r\n}\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li.user-defined>div{\r\n\tfont-size: 13px;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .searchOptions>li>label,\r\n.sn-groupSearchForm .searchForm .searchOptions>li>div>label {\r\n\tdisplay: inline-block;\r\n\tposition: relative;\r\n\twidth: 30%;\r\n\ttext-align: right;\r\n\tfont-size: 13px;\r\n\tline-height: 15px;\r\n\tpadding-right: 14px;\r\n\tfloat: none;\r\n\theight: auto;\r\n\tvertical-align: middle;\r\n\tbox-sizing: border-box;\r\n\tcolor: #666;\r\n\ttext-overflow: ellipsis;\r\n\t-webkit-line-clamp: 2;\r\n\toverflow: hidden;\r\n\tmax-height: 30px;\r\n}\r\n.sn-groupSearchForm .ellipsis{\r\n\tposition: absolute;\r\n\tbottom: 0;\r\n\tright: 12px;\r\n\tline-height: 15px;\r\n\tfont-size: 13px;\r\n\twidth: 14px;\r\n\ttext-align: center;\r\n\tbackground-color: #fff;\r\n}\r\n\r\n\r\n.sn-groupSearchForm .searchForm .searchOptions>li>label+*,\r\n.sn-groupSearchForm .searchForm .searchOptions>li>div>label+* {\r\n\tdisplay: inline-block;\r\n\twidth: 70%;\r\n\t/*height: 30px;*/\r\n\tfloat: none;\r\n\tmargin: 0;\r\n\tvertical-align: middle;\r\n\tbox-sizing: border-box;\r\n\tfont-size: 13px;\r\n\tcolor: #666;\r\n}\r\n\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li input,\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li select {\r\n\theight: 30px;\r\n\tline-height: 22px;\r\n\tpadding: 3px;\r\n\tpadding-left: 10px;\r\n\tbox-sizing: border-box;\r\n\toutline: none;\r\n\tborder: 1px solid #d0d6d9;\r\n\tbackground-color: #f5fdff;\r\n\tcolor: #666;\r\n\t/*-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);\r\n\tbox-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);*/\r\n}\r\n\r\n\r\n/*高级查询*/\r\n.sn-groupSearchForm .advancedQuery {\r\n\tdisplay: none;\r\n\tposition: absolute;\r\n\tbottom: -14px;\r\n\tleft: 0;\r\n\tright: 0;\r\n\twidth: 40px;\r\n\theight: 14px;\r\n\tmargin: 0 auto;\r\n\tcursor: pointer;\r\n\tbackground-image:url(\'\');\r\n}\r\n.sn-groupSearchForm .advancedQuery.up{\r\n\tbackground-image:url(\'\');\r\n}\r\n\r\n\r\n/*布局*/\r\n\r\n.sn-groupSearchForm .column1>li {\r\n\twidth: 100%;\r\n}\r\n\r\n\r\n/*两列布局*/\r\n\r\n.sn-groupSearchForm .column2>li {\r\n\twidth: 50%;\r\n}\r\n\r\n.sn-groupSearchForm .column2>li.colspan2,\r\n.sn-groupSearchForm .column2>li.colspanall {\r\n\twidth: 100%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column2>li.colspan2>label,\r\n.sn-groupSearchForm .searchForm .column2>li.colspan2>div>label,\r\n.sn-groupSearchForm .searchForm .column2>li.colspanall>label,\r\n.sn-groupSearchForm .searchForm .column2>li.colspanall>div>label {\r\n\twidth: 15%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column2>li.colspan2>label+*,\r\n.sn-groupSearchForm .searchForm .column2>li.colspan2>div>label+*,\r\n.sn-groupSearchForm .searchForm .column2>li.colspanall>label+*,\r\n.sn-groupSearchForm .searchForm .column2>li.colspanall>div>label+* {\r\n\twidth: 85%;\r\n}\r\n\r\n\r\n/*三列布局*/\r\n\r\n.sn-groupSearchForm .column3>li {\r\n\twidth: 33.33%;\r\n}\r\n\r\n.sn-groupSearchForm .column3>li.colspan2 {\r\n\twidth: 66.66%;\r\n}\r\n\r\n.sn-groupSearchForm .column3>li.colspan3,\r\n.sn-groupSearchForm .column3>li.colspanall {\r\n\twidth: 100%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column3>li.colspan2>label,\r\n.sn-groupSearchForm .searchForm .column3>li.colspan2>div>label {\r\n\twidth: 15%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column3>li.colspan2>label+*,\r\n.sn-groupSearchForm .searchForm .column3>li.colspan2>div>label+* {\r\n\twidth: 85%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column3>li.colspan3>label,\r\n.sn-groupSearchForm .searchForm .column3>li.colspan3>div>label,\r\n.sn-groupSearchForm .searchForm .column3>li.colspanall>label,\r\n.sn-groupSearchForm .searchForm .column3>li.colspanall>div>label {\r\n\twidth: 10%;\r\n}\r\n\r\n.sn-groupSearchForm .column3>li.colspan3>label+*,\r\n.sn-groupSearchForm .column3>li.colspan3>div>label+*,\r\n.sn-groupSearchForm .column3>li.colspanall>label+*,\r\n.sn-groupSearchForm .column3>li.colspanall>div>label+* {\r\n\twidth: 90%;\r\n}\r\n\r\n\r\n/*四列布局*/\r\n\r\n.sn-groupSearchForm .column4>li {\r\n\twidth: 25%;\r\n}\r\n\r\n.sn-groupSearchForm .column4>li.colspan2 {\r\n\twidth: 50%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column4>li.colspan2>label,\r\n.sn-groupSearchForm .searchForm .column4>li.colspan2>div>label {\r\n\twidth: 15%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column4>li.colspan2>label+*,\r\n.sn-groupSearchForm .searchForm .column4>li.colspan2>div>label+* {\r\n\twidth: 85%;\r\n\tmax-width: none;\r\n}\r\n\r\n.sn-groupSearchForm .column4>li.colspan3 {\r\n\twidth: 75%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column4>li.colspan3>label,\r\n.sn-groupSearchForm .searchForm .column4>li.colspan3>div>label {\r\n\twidth: 10%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column4>li.colspan3>label+*,\r\n.sn-groupSearchForm .searchForm .column4>li.colspan3>div>label+* {\r\n\twidth: 90%;\r\n}\r\n\r\n.sn-groupSearchForm .column4>li.colspanall {\r\n\twidth: 100%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column4>li.colspanall>label,\r\n.sn-groupSearchForm .searchForm .column4>li.colspanall>div>label {\r\n\twidth: 7%;\r\n}\r\n\r\n.sn-groupSearchForm .searchForm .column4>li.colspanall>label+*,\r\n.sn-groupSearchForm .searchForm .column4>li.colspanall>div>label+* {\r\n\twidth: 93%;\r\n}\r\n\r\n/*重置select组件样式*/\r\n.sn-groupSearchForm .sn-select .sn-select-single{\r\n\tpadding-left: 10px;\r\n}\r\n.sn-groupSearchForm .sn-select .sn-select-single{\r\n\tcolor: #666;\r\n}\r\n.sn-groupSearchForm .sn-select .sn-select-single span{\r\n\tline-height: 28px;\r\n}\r\n\r\n/*重置radios组件样式*/\r\n.sn-groupSearchForm .sn-radios > .chk-list,.sn-groupSearchForm .sn-checkboxes>.chk-list{\r\n\tfont-size: 0;\r\n}\r\n\r\n.sn-groupSearchForm .sn-radios .chk-list>li,.sn-groupSearchForm .sn-checkboxes>.chk-list>li {\r\n\tfont-size: 13px;\r\n\tpadding-bottom: 0;\r\n\tpadding-right: 20px;\r\n\tpadding-left: 30px;\r\n}\r\n\r\n.sn-groupSearchForm .sn-radios,\r\n.sn-groupSearchForm .sn-checkboxes{\r\n\tline-height: 30px;\r\n}\r\n.sn-groupSearchForm .sn-radios>.chk-list li>div,\r\n.sn-groupSearchForm .sn-checkboxes>.chk-list li>div,\r\n.sn-groupSearchForm .chk-list li>div.static:hover {\r\n\ttop: 5px!important;\r\n}\r\n.sn-groupSearchForm .sn-radios > .chk-list li > div{\r\n\tbackground-image: url(\'\');\r\n}\r\n.sn-groupSearchForm .sn-radios > .chk-list li > label,\r\n.sn-groupSearchForm .sn-checkboxes > .chk-list li > label{\r\n\tcolor: #666;\r\n}\r\n\r\n/*重置date组件样式*/\r\n\r\n.sn-groupSearchForm .bg-date {\r\n\twidth: 100%;\r\n}\r\n\r\n/*重置selectTree组件样式*/\r\n.sn-groupSearchForm .sn-selectTree,.sn-groupSearchForm .sn-selectTree>.has-formlayer{\r\n\theight: 30px;\r\n}\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li .formlayer-btns-check input{\r\n\theight: auto;\r\n\tvertical-align: middle;\r\n\tborder:none;\r\n}\r\n\r\n/*按钮样式*/\r\n\r\n.sn-groupSearchForm .sn-groupSearchForm-buttons {\r\n\ttext-align: left;\r\n}\r\n\r\n.sn-groupSearchForm-buttons {\r\n\t/*margin: 0 20px 0 20px;*/\r\n\tpadding: 0 20px;\r\n\tborder-top: 1px solid #e9ecf0;\r\n\tmargin-top: 15px;\r\n}\r\n.sn-groupSearchForm.absolute-btn .sn-groupSearchForm-buttons{\r\n\tposition: absolute;\r\n\tright: 0;\r\n\tbottom: 20px;\r\n\tborder-top:none;\r\n\tmargin-top: 0;\r\n}\r\n.sn-groupSearchForm.absolute-btn .sn-groupSearchForm-buttons .sn-buttonGroup-list>li{\r\n\theight: 30px;\r\n\tline-height: 30px;\r\n}\r\n\r\n.sn-groupSearchForm-buttons .sn-buttonGroup-list {\r\n\tfont-size: 0;\r\n\tpadding: 0;\r\n}\r\n.sn-groupSearchForm-buttons .sn-buttonGroup-list>li{\r\n\t/*font-size: 14px;*/\r\n\theight: 55px;\r\n\tline-height: 55px;\r\n}\r\n.sn-groupSearchForm-buttons .sn-buttonGroup-list>li>.t-btnGroup {\r\n\tpadding: 0;\r\n\twidth: 120px;\r\n\theight: 30px;\r\n\tline-height: 30px;\r\n\tvertical-align: middle;\r\n\t/*margin: 10px 0 0 10px;*/\r\n}\r\n\r\n.sn-groupSearchForm-buttons .sn-buttonGroup-list>li:last-child>.t-btnGroup {\r\n\tmargin-right: 0;\r\n}\r\n\r\n\r\n/*多行文本框*/\r\n\r\n.sn-groupSearchForm .searchForm .searchOptions>li .sn-groupSearchForm-textarea {\r\n\tborder: 1px solid #d0d6d9;\r\n\t/*-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);\r\n\tbox-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);*/\r\n\theight: 60px;\r\n\tresize: none;\r\n\toutline: none;\r\n\tpadding:3px 10px;\r\n\t/*font-size: 12px;*/\r\n\tbackground-color: #f5fdff;\r\n\tcolor: #666;\r\n}\r\n\r\n/*输入框样式*/\r\n\t/*focus*/\r\n.sn-groupSearchForm .searchForm .searchOptions>li .sn-groupSearchForm-textarea:focus,\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li input:focus,\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li select:focus{\r\n\tbackground-color: #ebfbff;\r\n\tborder:1px solid #0085d0;\r\n}\r\n\t/*disabled*/\r\n.sn-groupSearchForm .searchForm .searchOptions>li .sn-groupSearchForm-textarea:disabled,\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li input:disabled,\r\n.sn-groupSearchForm>form.searchForm>ul.searchOptions>li select:disabled{\r\n\tbackground-color: rgb(250,250,250);\r\n\tcolor: #ccc;\r\n\tborder:1px solid #eee;\t\r\n}\r\n\t/*重置select组件不可用时样式*/\r\n.sn-groupSearchForm .sn-select .sn-select-disabled .sn-select-single{\r\n\tbackground-color: rgb(250,250,250);\r\n\tcolor: #ccc;\r\n\tborder:1px solid #eee;\r\n}\t\r\n\r\n');
